// FriendRelationService.java
package com.baoyouqun.API.friend;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baoyouqun.API.friend.domain.FriendRelation;

import java.util.List;

public interface FriendRelationService extends IService<FriendRelation> {
    List<FriendRelation> getFriendRelationsByUserId(String userId);

    FriendRelation getFriendRelation(String userId, String friendId);

    boolean updateFriendStatus(String userId, String friendId, Integer status);

    boolean updateFriendRemark(String userId, String friendId, String remark);

    boolean deleteFriendRelation(String userId, String friendId);

}